package com.cuit.qx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcj
 * @since 2021-02-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ScheduledLog extends Model<ScheduledLog> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.UUID)
    private String id;

    /**
     * 定时器名
     */
    private String name;

    /**
     * 执行方法名
     */
    private String method;

    /**
     * 执行时间
     */
    private String time;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
